package com.oracle.compents;

import lombok.AllArgsConstructor;

@AllArgsConstructor
public enum Status {

    success(Compents.SUCCESS_CODE,Compents.SUCCESS_MSG),
    failed(Compents.FAILED_CODE,Compents.FAILED_MSG);

    private Integer code;
    private String msg;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
